 <template >
  <div>
    <slot name="nav">
      <van-swipe class="my-swipe" indicator-color="#39a9ed">
        <van-swipe-item v-for="(item, index) in images" :key="index">
          <van-image :src="item" fit="contain" class="swipe_img"></van-image>
          {{ item }}
        </van-swipe-item>
      </van-swipe>
    </slot>
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
};
</script>

<style scoped>
.my-swipe {
  height: 1295;
  background-color: #fff;
}
.my-swipe .van-swipe-item {
  color: #39a9ed;
  font-size: 20px;
  /* height: 150px; */
  text-align: center;
  margin: auto 0;
  background-color: #fff;
}
.swipe_img {
  /* height: 100px; */
  margin-top: 60px;
}
</style>